package com.hdax.dmw.entity.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hdax.dmw.entity.BaseTimeEntity;
import lombok.Data;

import java.io.Serializable;

/**
 * 区域表
 * @TableName dm_area
 */
@TableName(value ="dm_area")
@Data
public class DmArea extends BaseTimeEntity implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 区域名称
     */
    private String name;

    /**
     * 父级区域
     */
    private String parent;

    /**
     * 分类级别;select;(0:全国,1:1级,2:2级)
     */
    private Integer level;

    /**
     * 是否是热门城市(0:不是,1:是)
     */
    private Integer isHot;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}